Skip to content

feat: wind barbs - #366

Merged
vincentvdwal merged 2 commits into
mainfrom
windbarbs
Sep 23, 2026
Merged

vincentvdwal merged 2 commits into
mainfrom
windbarbs

Conversation

@vincentvdwal

@vincentvdwal vincentvdwal commented Aug 17, 2026 •

Copy link
Copy Markdown
Member

Wind barbs

Adds wind barbs as an alternative to arrows for wind layers.

  • Barb rendering — barb glyphs (calm circle, half/full barbs, pennants)
    generated as sprites from the same shape description the tile generator
    uses (arrow-shapes.ts / arrow-sprites.ts)
  • Arrow settings — style picker (arrows / wind barbs) with per-speed
    previews and a knots legend, icon scale and packing sliders, and a
    wind-rose diagram
  • Style choice persists in URL and preferences; legend and popup follow the
    selected style

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 17, 2026 •

Copy link
Copy Markdown

Deploying maps with  Cloudflare Pages  Cloudflare Pages

Latest commit: a097988
Status: ✅  Deploy successful!
Preview URL: https://a10e7703.maps-5aj.pages.dev
Branch Preview URL: https://windbarbs.maps-5aj.pages.dev

View logs

@vincentvdwal
vincentvdwal changed the base branch from main to refactor-variable-selection August 31, 2026 13:38
@vincentvdwal
vincentvdwal marked this pull request as ready for review September 11, 2026 11:57
@vincentvdwal
vincentvdwal force-pushed the refactor-variable-selection branch from 3f3f94c to f73637a Compare September 11, 2026 12:11
@vincentvdwal
vincentvdwal added this pull request to stack #390 September 11, 2026 12:18
@vincentvdwal
vincentvdwal force-pushed the refactor-variable-selection branch 2 times, most recently from a63eeb7 to b866608 Compare September 11, 2026 13:48
@vincentvdwal
vincentvdwal force-pushed the refactor-variable-selection branch from b866608 to f7e6490 Compare September 11, 2026 13:53
@vincentvdwal
vincentvdwal removed this pull request from stack #390 September 11, 2026 14:02
@vincentvdwal
vincentvdwal added this pull request to stack #398 September 11, 2026 14:03
@vincentvdwal
vincentvdwal force-pushed the refactor-variable-selection branch from f7e6490 to 382a960 Compare September 11, 2026 14:04
@vincentvdwal
vincentvdwal force-pushed the windbarbs branch 2 times, most recently from f6f463c to ec4f5bf Compare September 11, 2026 14:11
@vincentvdwal
vincentvdwal force-pushed the refactor-variable-selection branch from 382a960 to 8a4d3e3 Compare September 11, 2026 14:11
@terraputix
terraputix force-pushed the refactor-variable-selection branch from 8a4d3e3 to d6f81b2 Compare September 14, 2026 12:08
@vincentvdwal
vincentvdwal force-pushed the refactor-variable-selection branch from d6f81b2 to e80bc9a Compare September 16, 2026 10:31
@vincentvdwal
vincentvdwal removed this pull request from stack #398 September 16, 2026 10:32

@terraputix terraputix left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really cool!

I would still prefer to merge this as a separate squashed commit, after #361 has been merged!

And one nitpick: Should the arrow switch to a barb in the popover as well? I fear this would add a lot of custom code to draw the barb for the popover, so it might not be worth it. But it would be nice for consistency!

Comment thread src/lib/chart-presets.ts
@vincentvdwal

Copy link
Copy Markdown
Member Author

I would still prefer to merge this as a separate squashed commit, after #361 has been merged!

Yes good idea, let's do that.

And one nitpick: Should the arrow switch to a barb in the popover as well

I thought about it, and even tried it, but I don't know, it's than much smaller and harder to read. I think the arrow in the popup is fine. Also for the upcoming wind animation it's also showing a arrow, instead of the flow of particles

@vincentvdwal
vincentvdwal marked this pull request as draft September 18, 2026 07:27
Base automatically changed from refactor-variable-selection to main September 23, 2026 07:27
@vincentvdwal
vincentvdwal marked this pull request as ready for review September 23, 2026 09:03
@vincentvdwal
vincentvdwal merged commit f77bb6f into main Sep 23, 2026
5 checks passed
@vincentvdwal
vincentvdwal deleted the windbarbs branch September 23, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants